src=main.cpp
bin=threadpool.out

$(bin):$(src)
	g++ $< -o $@ -std=c++11 -lpthread

.PHONY:clean run cm g
clean:
	@rm -f $(bin)
run:
	@./$(bin)
g:
	g++ $(src) -o $(bin) -std=c++11 -lpthread -g